package com.pro_one.service;

import com.github.pagehelper.PageInfo;
import com.pro_one.entity.PageResult;
import com.pro_one.entity.QueryPageBean;
import com.pro_one.pojo.Setmeal;

import java.util.List;
import java.util.Map;

public interface SetmealService {
    PageResult findByCondition(QueryPageBean queryPageBean);

    void add(Setmeal setmeal, Integer[] checkgroupIds);

    Setmeal findById(Integer id);

    PageResult findAllGroupsByMealId(QueryPageBean queryPageBean, Integer id);

    List<Integer> findAssociations(Integer id);

    void edit(Setmeal setmeal, Integer[] checkgroupIds);

    void deleteAllByMealId(Integer id);

    List<Setmeal> getSetmeal();

    PageResult getSetmeal(QueryPageBean queryPageBean);

    Map getSetmealReport();

    List<Map<String,String>> findAllOptions3();

    PageResult findByCondition1(QueryPageBean queryPageBean, Integer id);

    List<Map<String, Object>> findMoneyCountBySetmeal(List<String> orderDay);
}
